--
-- Author: shineflag
-- Date: 2018-03-21 09:51:46
--
root = "$ROOT/"
skynet="$SKYNET/"
thread = 8
logpath = root .. "run/"
harbor = 0
lualoader = skynet .. "lualib/loader.lua"



-- lua文件搜索路径,供require调用
lua_path = root .. "lualib/?.lua;" .. 
			skynet .. "lualib/?.lua;" .. 
			skynet .. "lualib/?/init.lua;" .. 
			root .. "etc/conf/?.lua"

-- lua动态库文件搜索路径,供require调用
lua_cpath = root .. "luaclib/?.so;" .. 
			skynet .. "luaclib/?.so"

-- lua编写的服务模块路径
luaservice = root .. "service/?.lua;" .. 
			skynet .."service/?.lua" 

-- C编写的服务模块路径
cpath = root .. "/cservice/?.so;" .. 
		skynet .. "cservice/?.so"

--集群的配置文件
cluster = "etc/conf/cluster_conf.lua" 


if $DAEMON then
	logservice = "snlua"
	logger = "skynetlog"
	logfname = "$LOGFNAME" 
	daemon = "$PIDFILE"
end
